package model;

import java.util.ArrayList;
import java.util.List;

public class NoticeBoard {
	public void print(List<?> list) {
		
	}
	
	public void print1(List<? extends People> list) {
		
	}
	
	public void print2(List<? super Student> list) {
		
	}
	
	public static void main(String[] args) {
		NoticeBoard nb = new NoticeBoard();
		
		nb.print(new ArrayList<People>());
		nb.print(new ArrayList<Student>());
		nb.print(new ArrayList<StudentAptech>());
		
		nb.print1(new ArrayList<People>());
		nb.print1(new ArrayList<Student>());
		nb.print1(new ArrayList<StudentAptech>());
		
		nb.print2(new ArrayList<People>());
		nb.print2(new ArrayList<Student>());
		//nb.print2(new ArrayList<StudentAptech>());
		//phuong thuc print2 chi cho phep nhug j huoc Student va cha cua Student
		
	}

}
